/**
 * 文本链接 a
 */
//	_EsdDynamicTransformationScript.navBlock = {}; //定义区域跳转类
//	_EsdDynamicTransformationScript.navBlock.debug = true; //是否是调试模式，调试模式有红边线，非调试模式关闭红边框
//	//定义跳转 使用jquery选择器语法
//	_EsdDynamicTransformationScript.navBlock.selector = {};

//面包屑导航（除首页）
if( $(".CurrChnlCls").length > 0 ){
	
	//目录页的翻页input处理
	$("#num").attr("title","跳转到第多少页");
	$("#num").attr("placeholder","跳转到第多少页");
	$(".zt9 input[type='submit']").attr("title","提交");
	$(".zt9 input[type='submit']").attr("placeholder","提交");
	
	$("body>table:eq(0)").attr("id","header");
	_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
	$(".banshadow").attr("id","nav");
	_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
	$(".paddingtop:last").attr("id","footer");
	_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
	$("body>table:eq(2) table:eq(0)").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";
	$(".widthleft2014cl:eq(0)").parent().attr("id","left");
	_EsdDynamicTransformationScript.navBlock.selector.left = "#left";
	$(".paddingtop:eq(0)").parent().attr("id","right");
	_EsdDynamicTransformationScript.navBlock.selector.right = "#right";
	
	if( $("body > table:nth-child(7) > tbody > tr > td > table:nth-child(1) > tbody > tr > td > table:nth-child(4)").length > 0 ){
		$("body > table:nth-child(7) > tbody > tr > td > table:nth-child(1) > tbody > tr > td > table:nth-child(4)").attr("id","content");
	}
	if( $("#zoom").length > 0 ){
		$("#zoom").attr("id","content");
	}
	
	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	
	$(".td12:eq(0)").addClass("navBlock");
	$(".widthleft2014cl:eq(0)").parent().addClass("navBlock");
	$(".paddingtop:eq(0)").parent().addClass("navBlock");
	$("#zoom").addClass("navBlock");
	$("body > table:nth-child(7) > tbody > tr > td > table:nth-child(1) > tbody > tr > td > table:nth-child(4)").addClass("navBlock");
	
	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; // 激活的采用class因为会激活多个
}

if(location.href=="http://kjt.jl.gov.cn/" || location.href=="http://kjt.jl.gov.cn/index.html"){
//首页	
	
	// 主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改
	$("body>table:eq(0)").attr("id","header");
	_EsdDynamicTransformationScript.navBlock.selector.top = "#header";
	$(".banshadow").attr("id","nav");
	_EsdDynamicTransformationScript.navBlock.selector.nav = "#nav";
	$(".paddingtop:last").attr("id","footer");
	_EsdDynamicTransformationScript.navBlock.selector.footer = "#footer";
	$("body>table:eq(2) table:eq(1)").attr("id","main");
	_EsdDynamicTransformationScript.navBlock.selector.main = "#main";

	_EsdDynamicTransformationScript.navBlock.selector.left = "#left";

	_EsdDynamicTransformationScript.navBlock.selector.right = "#right";

	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	// 给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
	$("body>table:eq(2) table:eq(0)").addClass("navBlock");
	$("#main > tbody > tr > td > table:nth-child(1) > tbody > tr:nth-child(2) > td:nth-child(1)").addClass("navBlock");
	$("#main > tbody > tr > td > table:nth-child(1) > tbody > tr:nth-child(2) > td:nth-child(2)").addClass("navBlock");
	$("#main > tbody > tr > td > table:nth-child(5)").addClass("navBlock");
	$(".paddingtop").addClass("navBlock");
	$("#main > tbody > tr > td > table:nth-child(3) > tbody > tr > td:nth-child(1)").addClass("navBlock");
	$("#main > tbody > tr > td > table:nth-child(3) > tbody > tr > td:nth-child(2)").addClass("navBlock");
	$("#main > tbody > tr > td > table:nth-child(3) > tbody > tr > td:nth-child(3)").addClass("navBlock");

	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; // 激活的采用class因为会激活多个
}


if(location.href=="http://kjt.jl.gov.cn/zzjg/" || location.href=="http://kjt.jl.gov.cn/xwzx/" || location.href=="http://kjt.jl.gov.cn/xxgk/" || location.href=="http://kjt.jl.gov.cn/bsfw/" || location.href=="http://kjt.jl.gov.cn/kjzy/" || location.href=="http://kjt.jl.gov.cn/zczy/" ){
	// 导航对应的二级页
	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	// 给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
	$(".widthleft2014cl:eq(0)").parent().addClass("navBlock");
	$(".paddingtop:eq(0)").parent().addClass("navBlock");
	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; // 激活的采用class因为会激活多个
}

if(location.href=="http://kjt.jl.gov.cn/gzcy/tzxx/" || location.href=="http://kjt.jl.gov.cn/gzcy/zxzx/" || location.href=="http://kjt.jl.gov.cn/gzcy/jyxc/" || location.href=="http://kjt.jl.gov.cn/gzcy/jdts/" || location.href=="http://kjt.jl.gov.cn/gzcy/wsdc/" || location.href=="http://kjt.jl.gov.cn/gzcy/"){
	// 厅长信箱-在线咨询-建言献策-监督举报-网上调查

	// 主要修改部分把网站对应的选择器赋值给相应的变量。或用jquery把默认的id复制给网站的元素****************************此处重要位置修改

	$(".widthleft2014cl:eq(0)").parent().attr("id","left");
	_EsdDynamicTransformationScript.navBlock.selector.left = "#left";
	$(".widthleft2014cl:eq(0)").parent().next().attr("id","right");
	_EsdDynamicTransformationScript.navBlock.selector.right = "#right";
	_EsdDynamicTransformationScript.navBlock.selector.content = "#content";
	// 给栏目的class属性添加navBlock值来标识这是需要切的栏目区块。
	$(".widthleft2014cl:eq(0)").parent().addClass("navBlock");
	$(".widthleft2014cl:eq(0)").parent().next().addClass("navBlock");
	$(".widthleft2014cl:eq(0)").parent().next().find("table").addClass("navBlock");
	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; // 激活的采用class因为会激活多个
}		








